**************
*** README ***
**************

Replication files for "Election pledges in multiparty governments: When do voters accept non-fulfillment?"

Authors: Juha Ylisalo, Theres Matthieß, Katrin Praprotnik & Laurenz Ennser-Jedenastik

-------------------------------------------------
NOTE

Before running the replication, please change the working directory to where you have saved the script and data files. Moreover, running the code for the robustness checks reported in the Supplementary Material (Appendix 5) presupposes that you have stacked the datasets as described in the "data_analysis_maintext.R" file. In the script files, it is assumed that the data files are saved in the working directory.

-------------------------------------------------
FILE LIST

(1) readme.txt
This readme file

(2) data_analysis_maintext.R
R scripts used for the analyses reported in the main text

(3) data_analysis_supplementary.R
R scripts used for the analyses reported in the Supplementary Material

(4) data_fin_wide.xlsx
Data from the Finnish survey

(5) data_ger_wide.xlsx
Data from the German (main) survey

(6) data_ger_ptv_wide.xlsx
Data from the German survey with a modified outcome variable

(7) codebook_data_fin_wide.txt
Codebook for the Finnish data

(8) codebook_data_ger_wide.txt
Codebook for the German (main) data

(9) codebook_data_ger_ptv_wide.txt
Codebook for the German data with a modified outcome variable

(10) appendix-2-principal-component-analysis.sps
SPSS script for principal component analyses reported in the Supplementary Material

(11) appendix-2-principal-component-analysis.txt
SPSS script for principal component analyses reported in the Supplementary Material (as a text file that can be accessed without SPSS).

-------------------------------------------------
SOFTWARE

The data analyses in this article were performed using R (version 4.3.1). Preliminary principal component analyses (PCA) reported in the Supplementary Material were done using IBM SPSS (version 29). The replication materials include scripts that replicate the PCA results in both environments.

Base R packages used:
- stats
- graphics  
- grDevices 
- utils    
- datasets 
- methods  
- base     

Other R packages used (version numbers in parentheses):
- Rmisc (1.5.1)
- plyr (1.8.8)
- lattice (0.21-8)
- GPArotation (2025.3-1)
- psych (2.5.6)
- cowplot (1.1.2)
- ggplot2 (3.4.2)
- sjPlot (2.8.14)         
- texreg (1.39.3)
- marginaleffects (0.18.0) 
- estimatr (1.0.4) 
- sjlabelled (1.2.0) 
- forcats (1.0.0) 
- fastDummies (1.7.3) 
- data.table (1.14.8) 
- readxl (1.4.3)